/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package apiAccess;

/**
 *
 * @author Kevin
 */
public class Product {
    public int id;
    public int category_id;
    public int subcategory_id;
    public String name;
    public int sales_rank;
    public String price;
    public String image_url;
    public String actors;
    public String format;    
    public String language;
    public String subtitles;
    public String region;
    public String aspect_ratio;
    public int number_discs;
    public String release_date;
    public String runtime;
    public String publisher;
    public String published_date;
    public String authors;

    public Product(int id, int category_id, int subcategory_id, String name, String image,
            int sales, String price,String actors, String format, String language, String subtitles,
            String region, String aspect_ratio, int number_discs, String release_date, String runtime) {
        this.id=id;
        this.category_id=category_id;
        this.subcategory_id=subcategory_id;
        this.name=name;
        this.image_url=image;
        this.price= price;
        this.sales_rank=sales;
        this.actors=actors;
        this.format=format;
        this.language=language;
        this.subtitles=subtitles;
        this.region=region;
        this.aspect_ratio=aspect_ratio;
        this.number_discs=number_discs;
        this.release_date=release_date;
        this.runtime=runtime;
    }

    Product(int id, int category_id, int subcategory_id, String name, String image_url, int sales_rank,String price, String language, String authors, String publisher, String published_date) {
         this.id=id;
        this.category_id=category_id;
        this.subcategory_id=subcategory_id;
        this.name=name;
        this.image_url=image_url;
        this.price= price;
        this.sales_rank=sales_rank;
        this.language=language;
        this.authors=authors;
        this.publisher=publisher;
        this.published_date=published_date;
    }



    	@Override
	public String toString(){
		return "id=" +id +"-name=" + name+ "-code=";
	}

}
